package com.centersoft.flowable.core.comm;

/**
 * 返回结果状态码
 *
 * @author wangzhiqiang
 * @since 2022-08-06
 */
public enum StateCode {
    /**
     * 成功
     */
    SUCCESS(200),
    /**
     * 失败
     */
    FAILURE(500),
    /**
     * 超时
     */
    LOGIN_OUT(501);


    private int code;

    private StateCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
